/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "入库卷信息",TableName = "View_StockIn")]
    public partial class View_StockIn:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Display(Name ="StockInType")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StockInType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WorkShopCode")]
       [MaxLength(10)]
       [Column(TypeName="nchar(10)")]
       [Editable(true)]
       public string WorkShopCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DocCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string DocCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DepartCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string DepartCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateID")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int CreateID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ModifyID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Modifier")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ApproverID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ApproverID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Approver")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Approver { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ApproverDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ApproverDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendToNC")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string IsSendToNC { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SendToNCDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SendToNCDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="RowNumber")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? RowNumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WarehouseCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string WarehouseCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StorageLocation")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StorageLocation { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_CONTRACT_CODE")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_CONTRACT_CODE { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_ORDER")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? T_ORDER { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_GOOD_UNIT")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_GOOD_UNIT { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_GOOD_NUM")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? T_GOOD_NUM { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_GOOD_PRICE")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? T_GOOD_PRICE { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_GOOD_MONEY")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_GOOD_MONEY { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="VolumeCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string VolumeCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="VolumeCodeNew")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string VolumeCodeNew { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="InventoryCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string InventoryCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Size")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Size { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Thick")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Thick { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Width")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Width { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Material")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Material { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Address")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Address { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Weight")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Weight { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Virtual")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Virtual { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CID")]
       [MaxLength(36)]
       [Column(TypeName="char(36)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string CID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_GOOD_NAME")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_GOOD_NAME { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="Bguid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid Bguid { get; set; }

       
    }
}